From db372382e93c58f942180b858b1c271967f066d1 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 3 Sep 2014 14:45:51 -0700 Subject: [PATCH] toolitem: set clip on allocation So that widgets that are children of tool items can render their shadows too. --- gtk/gtktoolitem.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtk/gtktoolitem.c b/gtk/gtktoolitem.c index 774ecd0f0d..78e318863d 100644 --- a/gtk/gtktoolitem.c +++ b/gtk/gtktoolitem.c @@ -31,7 +31,7 @@ #include "deprecated/gtkactivatable.h" #include "gtkintl.h" #include "gtkprivate.h" - +#include "gtkwidgetprivate.h" /** * SECTION:gtktoolitem @@ -531,6 +531,8 @@ gtk_tool_item_size_allocate (GtkWidget *widget, gtk_widget_size_allocate (child, &child_allocation); } + + _gtk_widget_set_simple_clip (widget, NULL); } gboolean -- 2.30.2